package com.fire.service;

import java.io.IOException;
import java.time.LocalDateTime;

public interface ITeacherService {
    LocalDateTime isHaveChance(String name, LocalDateTime now) throws IOException;

    int Login(String name, String password) throws IOException;

    boolean isExist(String id) throws IOException;

    void Regirter(String id, String p1) throws IOException;

    LocalDateTime WriterAndClear(String name, LocalDateTime now) throws IOException;

    LocalDateTime CloseTime(String name) throws IOException;

    LocalDateTime RegisterTime(String name) throws IOException;

    void WriteCloseTime(String name) throws IOException;
}
